home *** CD-ROM | disk | FTP | other *** search
- Article 30586 of comp.os.linux:
- Path: samba!concert!gatech!prism!gg10
- From: gg10@prism.gatech.EDU (Gregory Lyle Galloway)
- Newsgroups: comp.os.linux
- Subject: Here's how to install SLS on a PS/ValuePoint
- Message-ID: <89026@hydra.gatech.EDU>
- Date: 12 Mar 93 04:41:51 GMT
- Organization: Georgia Institute of Technology
- Lines: 87
-
- Many people have been wanting to know how to install Linux on an IBM
- PS/ValuePoint. Several people have posted the fixes that need to be
- made to the kernel, but these all require that you use a boot/rootdisk
- combination rather than installing from Peter's wonderful SLS distribution.
-
- The following instructions describe in detail how to create your own
- a1 disk so that you can install SLS on a PS/VP. It still requires that
- you have access to a machine already running Linux so that you can construct
- a special kernel hardcoded for your drive type. Hopefully many of you
- can find a friend nearby who can help out.
-
- Maybe someone could post these instructions and their patched kernels for
- different drive types to tsx-11.
-
- There should probably be something in the FAQ about this as well.
-
- 1) Modify the file /usr/src/linux/include/linux/config.h
-
- Define HD_TYPE with the parameters of your drive. The file config.h has
- instructions on how to set HD_TYPE. Many PS/VP's use a Maxtor 7213 212MB
- drive, so the changes would look like:
-
- #undef HD_TYPE
-
- #ifdef MAXTOR_7213
- #define HD_TYPE { 16,38,683,0,683,8 }
- #endif
-
- Note: If you have two floppy drives there are some other patches that you
- need to make but I don't know what they are. My friend only had one floppy.
-
- 2) Modify the file /usr/src/linux/Makefile
-
- Set ROOT_DEV and RAMDISK as shown below:
-
- #define ROOT_DEV FLOPPY
- #define RAMDISK 657
-
- and add the following line after the definition of CFLAGS:
-
- CFLAGS := $(CFLAGS) -DMAXTOR_7213
-
- 3) cd to the /usr/src/linux directory
- type "make config" and answer the questions however you like
- type "make dep; make clean; make zImage"
-
- 4) Pad the file zImage out to 512k bytes using the command:
-
- cat zImage /dev/zero | dd bs=1024 count=512 of=zImage512k
-
- 5) Insert the original a1 disk into the drive and type:
-
- dd bs=1024 skip=512 if=/dev/fd0 of=a1-512k
-
- 6) Insert a new formatted floppy into the drive and type:
-
- cat zImage512k a1-512k | dd of=/dev/fd0
-
- This is your new a1 bootdisk.
-
- 7) Now remove the ramdisk from the original kernel you built:
-
- rdev -r zImage 0
-
- 8) Tar and zip this file:
-
- tar cf - zImage | gzip >Image.tpz
-
- 9) Insert the a2 disk into the drive and mount it:
-
- mount /dev/fd0 /mnt
-
- 10) Copy the new kernel onto a2:
-
- rm /mnt/Image.tpz
- cp Image.tpz /mnt
- umount /dev/fd0
-
- 11) Now you should be ready to install.
-
- Good luck,
-
- Greg Galloway
- gregg@discovery.gatech.edu
-
- Disclaimer: I do not have a PS/VP. I have a Gateway which I used to help
- out a friend. I have not tested this a whole lot.
-
-
-